import request from '@/utils/request'

export function line(params) {
  return request({
    url: '/cms/common/getLineListByDept',
    method: 'get',
    params: params
  })
}
/**
 * 行别下拉框
 */
export function listDirection(params) {
  return request({
    url: '/basic/direction/list',
    method: 'get',
    params: params
  })
}

/**
 * 获取下拉框段
 */
export function getListSection(params) {
  return request({
    url: '/cms/common/getListSection',
    method: 'get',
    params: params
  })
}
// 选择支柱（分页）
export function pillarList(query) {
  return request({
    url: '/basic/pillar/list/',
    method: 'GET',
    params: query
  })
}
